﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Data
{
    [AttributeUsage(AttributeTargets.Property
        , AllowMultiple = false
        , Inherited = true)]
    public class PersistAttribute : DefinitionAttribute
    {
        public PersistBehaviors Behaviors
        {
            get;
            private set;
        }

        public PersistAttribute(PersistBehaviors behavior)
        {
            Behaviors = behavior;
        }
    }
}
